package cn.t235.factory;

import cn.t235.dao.UserDao;
import cn.t235.dao.UserDaoJdbcImpl;
import cn.t235.dao.UserDaoMybatisImpl;

/**
 * @author 天天向上 （john.yi@qq.com）
 * @date 2020/10/28.
 */
public class UserDaoFactory {
    public static UserDao createUserDao() {
        return new UserDaoMybatisImpl();
//        return new UserDaoJdbcImpl();
    }
}
